﻿using DotNetExtensions.Core.Autofac;
using DotNetExtensions.Core.IOC;
using DotNetExtensions.Core.SQLites;
using Habi.Server.Models;

namespace Habi.Server.Repositorys
{
    [Inject(Scope = InjectScope.Instance)]
    [AutoInject(Kind = InjectKind.Named)]
    public class SolverDbContext : SQLiteDbContext
    {
        public SolverDbContext() : base()
        {

        }

        public DbSet<ResourceModel> Resources { get; set; }
        public DbSet<UserModel> Users { get; set; }
        public DbSet<DepartmentModel> Departments { get; set; }
    }
}
